package com.zdd.steady;

/**
 * @version 1.0
 * @Author: carl
 * @Description: 静态代理写法
 * @Date: Create in 18:12 2020/10/7 0007
 */
public class ZhangSanFatcher implements IPerson{

    private ZhangSan zhangSan;

    public ZhangSanFatcher(ZhangSan zhangSan) {
        this.zhangSan = zhangSan;
    }

    @Override
    public void findLove() {
        System.out.println("张三老汉开始物色");
        zhangSan.findLove();
        System.out.println("开始交往");
    }
}
